package com.moli.lumpSugar.common.config;//package com.moli.lumpSugar.common.config;
//
//
//
//import com.moli.lumpSugar.common.utils.sensitiveWord.DFAFilter;
//import com.moli.lumpSugar.common.utils.sensitiveWord.SensitiveWordBs;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//@Configuration
//public class SensitiveWordConfig {
//
//    @Autowired
//    private ChatWordFactory chatWordFactory;
//
//    /**
//     * 初始化引导类
//     *
//     * @return 初始化引导类
//     * @since 1.0.0
//     */
//    @Bean
//    public SensitiveWordBs sensitiveWordBs() {
//        return SensitiveWordBs.newInstance()
//                .filterStrategy(DFAFilter.getInstance())
//                .sensitiveWord(chatWordFactory)
//                .init();
//    }
//
//}